package com.yy.web.pm.billboardRemove.service.Impl;

import org.springframework.stereotype.Service;
import javax.annotation.Resource;
import java.util.List;
import com.yy.web.pm.billboardRemove.mapper.BillboardRemoveMapper;
import com.yy.web.pm.billboardRemove.domain.BillboardRemove;
import com.yy.web.pm.billboardRemove.service.BillboardRemoveService;
@Service
public class BillboardRemoveServiceImpl implements BillboardRemoveService{

    @Resource
    private BillboardRemoveMapper billboardRemoveMapper;

    @Override
    public int deleteByPrimaryKey(Integer id) {
        return billboardRemoveMapper.deleteByPrimaryKey(id);
    }

    @Override
    public int insert(BillboardRemove record) {
        return billboardRemoveMapper.insert(record);
    }

    @Override
    public int insertSelective(BillboardRemove record) {
        return billboardRemoveMapper.insertSelective(record);
    }

    @Override
    public BillboardRemove selectByPrimaryKey(Integer id) {
        return billboardRemoveMapper.selectByPrimaryKey(id);
    }

    @Override
    public int updateByPrimaryKeySelective(BillboardRemove record) {
        return billboardRemoveMapper.updateByPrimaryKeySelective(record);
    }

    @Override
    public int updateByPrimaryKey(BillboardRemove record) {
        return billboardRemoveMapper.updateByPrimaryKey(record);
    }

    @Override
    public int updateBatch(List<BillboardRemove> list) {
        return billboardRemoveMapper.updateBatch(list);
    }

    @Override
    public int batchInsert(List<BillboardRemove> list) {
        return billboardRemoveMapper.batchInsert(list);
    }

    @Override
    public List<BillboardRemove> selectAllList(BillboardRemove billboardRemove) {
        return billboardRemoveMapper.selectAllList(billboardRemove);
    }

}
